package edu.scau.misp.backend_module.domain;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Table implements Serializable {

    private Long tableId;
    private Long tableSeats;
    private Long occupied;
    private String location;
    private Long locationId;
    private Long reserveStatus;
    private String tableDescription;

    public Table() {
    }

    public Table(Long tableId, Long tableSeats, Long occupied, String location, Long locationId, Long reserveStatus, String tableDescription) {
        this.tableId = tableId;
        this.tableSeats = tableSeats;
        this.occupied = occupied;
        this.location = location;
        this.locationId = locationId;
        this.reserveStatus = reserveStatus;
        this.tableDescription = tableDescription;
    }

    @Override
    public String toString() {
        return "Table{" +
                "tableId=" + tableId +
                ", tableSeats=" + tableSeats +
                ", occupied=" + occupied +
                ", location='" + location + '\'' +
                ", locationId=" + locationId +
                ", reserveStatus=" + reserveStatus +
                ", tableDescription='" + tableDescription + '\'' +
                '}';
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public Long getTableSeats() {
        return tableSeats;
    }

    public void setTableSeats(Long tableSeats) {
        this.tableSeats = tableSeats;
    }

    public Long getOccupied() {
        return occupied;
    }

    public void setOccupied(Long occupied) {
        this.occupied = occupied;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public Long getReserveStatus() {
        return reserveStatus;
    }

    public void setReserveStatus(Long reserveStatus) {
        this.reserveStatus = reserveStatus;
    }

    public String getTableDescription() {
        return tableDescription;
    }

    public void setTableDescription(String tableDescription) {
        this.tableDescription = tableDescription;
    }
}
